import {sequelize} from "../../init"
import {DataTypes} from "sequelize"


export const Authority = sequelize.define(
    "Authority",
    {
        authorityName: {
            allowNull: false,
            type: DataTypes.STRING,
            unique: true
        }
    },
    {
        freezeTableName: true,
        paranoid:true, //删除数据为逻辑删除
    }
)



